package com.iflytek.nacos.manager;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @program: springCloudAlibaba
 * @description:
 * @author: 陈亮
 * @create: 2022-01-17 19:48
 */
@SpringBootApplication
@NacosPropertySource(dataId = "example", autoRefreshed = true)//加载dataId为example的数据源,并开启自动更新
public class NacosConfigServiceApplication {


    public static void main(String[] args) {
        SpringApplication.run(NacosConfigServiceApplication.class, args);
    }
}
